Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect: do not enforce Contact header in 1XX responses with To tag #1028

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

maximilianfridrich
Copy link
Contributor

@maximilianfridrich maximilianfridrich commented Dec 12, 2023

There are some SIP UAs which send 1XX responses with a To tag and without a Contact header.

This is enforced since v3.4.0 (#878) and with this change (#1028) we increase the compatibility with other SIP stacks while still staying compliant.

E.g. Linphone only enforces sending of the Contact header when compiled with a special compile time option.

Further, Kamailio removed the enforcing of this header too.

src/sipsess/connect.c Outdated Show resolved Hide resolved
There are some SIP UAs which send 1XX responses with a To tag and
without a Contact header.
@CMB
Copy link

CMB commented Dec 14, 2023

I was seeing this same issue with jmp.chat's SIP service,
and this PR fixed it for me.

@sreimers sreimers merged commit c7f1c53 into baresip:main Dec 14, 2023
35 checks passed
@maximilianfridrich maximilianfridrich deleted the 1XX_no_contact branch February 12, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants